package Beans;

/**
 * @program: 学生管理系统(javafx)
 * @description: 用户表
 * @author: XuYuanjun
 * @create: 2020-04-01 01:03
 **/
public class UserBean {
    /**
     * id
     */
    private String id;
    /**
     * 用户名
     */
    private String user;
    /**
     * 角色，0：学生  1：老师  2：管理员
     */
    private Integer role;
    /**
     * 真实姓名
     */
    private String name;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 密码
     */
    private String password;

    public UserBean() {
    }

    public UserBean(String id, String user, Integer role, String name, String email, String password) {
        this.id = id;
        this.user = user;
        this.role = role;
        this.name = name;
        this.email = email;
        this.password = password;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}

